package com.cn.future_user_server.pojo;

import java.util.ArrayList;
import java.util.List;

public class AccountManagementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountManagementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andManagementIdIsNull() {
            addCriterion("management_id is null");
            return (Criteria) this;
        }

        public Criteria andManagementIdIsNotNull() {
            addCriterion("management_id is not null");
            return (Criteria) this;
        }

        public Criteria andManagementIdEqualTo(Integer value) {
            addCriterion("management_id =", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdNotEqualTo(Integer value) {
            addCriterion("management_id <>", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdGreaterThan(Integer value) {
            addCriterion("management_id >", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("management_id >=", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdLessThan(Integer value) {
            addCriterion("management_id <", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdLessThanOrEqualTo(Integer value) {
            addCriterion("management_id <=", value, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdIn(List<Integer> values) {
            addCriterion("management_id in", values, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdNotIn(List<Integer> values) {
            addCriterion("management_id not in", values, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdBetween(Integer value1, Integer value2) {
            addCriterion("management_id between", value1, value2, "managementId");
            return (Criteria) this;
        }

        public Criteria andManagementIdNotBetween(Integer value1, Integer value2) {
            addCriterion("management_id not between", value1, value2, "managementId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Integer value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Integer value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Integer value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Integer value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Integer value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Integer> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Integer> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Integer value1, Integer value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdIsNull() {
            addCriterion("employee_pwd is null");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdIsNotNull() {
            addCriterion("employee_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdEqualTo(String value) {
            addCriterion("employee_pwd =", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdNotEqualTo(String value) {
            addCriterion("employee_pwd <>", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdGreaterThan(String value) {
            addCriterion("employee_pwd >", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdGreaterThanOrEqualTo(String value) {
            addCriterion("employee_pwd >=", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdLessThan(String value) {
            addCriterion("employee_pwd <", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdLessThanOrEqualTo(String value) {
            addCriterion("employee_pwd <=", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdLike(String value) {
            addCriterion("employee_pwd like", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdNotLike(String value) {
            addCriterion("employee_pwd not like", value, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdIn(List<String> values) {
            addCriterion("employee_pwd in", values, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdNotIn(List<String> values) {
            addCriterion("employee_pwd not in", values, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdBetween(String value1, String value2) {
            addCriterion("employee_pwd between", value1, value2, "employeePwd");
            return (Criteria) this;
        }

        public Criteria andEmployeePwdNotBetween(String value1, String value2) {
            addCriterion("employee_pwd not between", value1, value2, "employeePwd");
            return (Criteria) this;
        }

        public Criteria and预留1IsNull() {
            addCriterion("预留1 is null");
            return (Criteria) this;
        }

        public Criteria and预留1IsNotNull() {
            addCriterion("预留1 is not null");
            return (Criteria) this;
        }

        public Criteria and预留1EqualTo(String value) {
            addCriterion("预留1 =", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1NotEqualTo(String value) {
            addCriterion("预留1 <>", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1GreaterThan(String value) {
            addCriterion("预留1 >", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1GreaterThanOrEqualTo(String value) {
            addCriterion("预留1 >=", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1LessThan(String value) {
            addCriterion("预留1 <", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1LessThanOrEqualTo(String value) {
            addCriterion("预留1 <=", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1Like(String value) {
            addCriterion("预留1 like", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1NotLike(String value) {
            addCriterion("预留1 not like", value, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1In(List<String> values) {
            addCriterion("预留1 in", values, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1NotIn(List<String> values) {
            addCriterion("预留1 not in", values, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1Between(String value1, String value2) {
            addCriterion("预留1 between", value1, value2, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留1NotBetween(String value1, String value2) {
            addCriterion("预留1 not between", value1, value2, "预留1");
            return (Criteria) this;
        }

        public Criteria and预留2IsNull() {
            addCriterion("预留2 is null");
            return (Criteria) this;
        }

        public Criteria and预留2IsNotNull() {
            addCriterion("预留2 is not null");
            return (Criteria) this;
        }

        public Criteria and预留2EqualTo(String value) {
            addCriterion("预留2 =", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2NotEqualTo(String value) {
            addCriterion("预留2 <>", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2GreaterThan(String value) {
            addCriterion("预留2 >", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2GreaterThanOrEqualTo(String value) {
            addCriterion("预留2 >=", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2LessThan(String value) {
            addCriterion("预留2 <", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2LessThanOrEqualTo(String value) {
            addCriterion("预留2 <=", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2Like(String value) {
            addCriterion("预留2 like", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2NotLike(String value) {
            addCriterion("预留2 not like", value, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2In(List<String> values) {
            addCriterion("预留2 in", values, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2NotIn(List<String> values) {
            addCriterion("预留2 not in", values, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2Between(String value1, String value2) {
            addCriterion("预留2 between", value1, value2, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留2NotBetween(String value1, String value2) {
            addCriterion("预留2 not between", value1, value2, "预留2");
            return (Criteria) this;
        }

        public Criteria and预留3IsNull() {
            addCriterion("预留3 is null");
            return (Criteria) this;
        }

        public Criteria and预留3IsNotNull() {
            addCriterion("预留3 is not null");
            return (Criteria) this;
        }

        public Criteria and预留3EqualTo(String value) {
            addCriterion("预留3 =", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3NotEqualTo(String value) {
            addCriterion("预留3 <>", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3GreaterThan(String value) {
            addCriterion("预留3 >", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3GreaterThanOrEqualTo(String value) {
            addCriterion("预留3 >=", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3LessThan(String value) {
            addCriterion("预留3 <", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3LessThanOrEqualTo(String value) {
            addCriterion("预留3 <=", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3Like(String value) {
            addCriterion("预留3 like", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3NotLike(String value) {
            addCriterion("预留3 not like", value, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3In(List<String> values) {
            addCriterion("预留3 in", values, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3NotIn(List<String> values) {
            addCriterion("预留3 not in", values, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3Between(String value1, String value2) {
            addCriterion("预留3 between", value1, value2, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留3NotBetween(String value1, String value2) {
            addCriterion("预留3 not between", value1, value2, "预留3");
            return (Criteria) this;
        }

        public Criteria and预留4IsNull() {
            addCriterion("预留4 is null");
            return (Criteria) this;
        }

        public Criteria and预留4IsNotNull() {
            addCriterion("预留4 is not null");
            return (Criteria) this;
        }

        public Criteria and预留4EqualTo(String value) {
            addCriterion("预留4 =", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4NotEqualTo(String value) {
            addCriterion("预留4 <>", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4GreaterThan(String value) {
            addCriterion("预留4 >", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4GreaterThanOrEqualTo(String value) {
            addCriterion("预留4 >=", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4LessThan(String value) {
            addCriterion("预留4 <", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4LessThanOrEqualTo(String value) {
            addCriterion("预留4 <=", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4Like(String value) {
            addCriterion("预留4 like", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4NotLike(String value) {
            addCriterion("预留4 not like", value, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4In(List<String> values) {
            addCriterion("预留4 in", values, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4NotIn(List<String> values) {
            addCriterion("预留4 not in", values, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4Between(String value1, String value2) {
            addCriterion("预留4 between", value1, value2, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留4NotBetween(String value1, String value2) {
            addCriterion("预留4 not between", value1, value2, "预留4");
            return (Criteria) this;
        }

        public Criteria and预留5IsNull() {
            addCriterion("预留5 is null");
            return (Criteria) this;
        }

        public Criteria and预留5IsNotNull() {
            addCriterion("预留5 is not null");
            return (Criteria) this;
        }

        public Criteria and预留5EqualTo(String value) {
            addCriterion("预留5 =", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5NotEqualTo(String value) {
            addCriterion("预留5 <>", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5GreaterThan(String value) {
            addCriterion("预留5 >", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5GreaterThanOrEqualTo(String value) {
            addCriterion("预留5 >=", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5LessThan(String value) {
            addCriterion("预留5 <", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5LessThanOrEqualTo(String value) {
            addCriterion("预留5 <=", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5Like(String value) {
            addCriterion("预留5 like", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5NotLike(String value) {
            addCriterion("预留5 not like", value, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5In(List<String> values) {
            addCriterion("预留5 in", values, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5NotIn(List<String> values) {
            addCriterion("预留5 not in", values, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5Between(String value1, String value2) {
            addCriterion("预留5 between", value1, value2, "预留5");
            return (Criteria) this;
        }

        public Criteria and预留5NotBetween(String value1, String value2) {
            addCriterion("预留5 not between", value1, value2, "预留5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}